package com.qf.dao;

import com.qf.pojo.User;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 千锋健哥
 */
public class UserDaoImpl implements UserDao {

    @Override
    public List<User> findUserAll() {
        List<User> list = new ArrayList<>();

        User user1 = new User();
        user1.setId(1);
        user1.setName("张三");

        User user2 = new User();
        user2.setId(2);
        user2.setName("李四");

        list.add(user1);
        list.add(user2);
        return list;

    }

}
